import request from '../utils/request';
import { AxiosRequestConfig } from 'axios'
export const GetJumpButtomList =(mapid: string,matchid:string): Promise<unknown> => {
    return request({
        url:`/fm/api/jump/map/list?map=${mapid}&matchCode=${matchid}`,
        method: 'get',
    });
};
export const GetMatchList =(): Promise<unknown> => {
    return request({
        url:`/fm/api/jump/match/list`,
        method: 'get',
    });
};
export const DownJump =(matchCode:string,mapCode:string): Promise<unknown> => {
    return request({
        url:`/fm/api/jump/make/down?matchCode=${matchCode}&map=${mapCode}`,
        timeout:  600 * 1000,
        method: 'get',
    });
};